package com.designmodel.factorymodel.abstractfactory;

/**
 * Created by
 * 测试类
 * @author touni
 * @date 2019/4/2
 * @time 15:53
 */
public class MainDemo {

    public static void main(String[] args) {
        AbstractFactory factory = new AsusComputerFactory();
        factory.getMemory().getName();
        factory.getMotherboard().getName();



    }



}
